package com.liukai.todo_android.entity.data;

import java.time.LocalDate;

/**
 * @author ：liukai
 * @date ：Created in 2021/8/17 10:58 上午
 * @description：历史记录的日期实体类
 * @modified By：
 * @version: $
 */
public class HistoryDate {

    /**
     * 日期
     */
    private String date;

    /**
     * 日期内完成的待办数量
     */
    private int count = 0;

    public String getDate() {
        return date;
    }

    public HistoryDate setDate(String date) {
        this.date = date;
        return this;
    }

    public int getCount() {
        return count;
    }

    public HistoryDate setCount(int count) {
        this.count = count;
        return this;
    }

    public void countAdd() {
        this.count++;
    }

    @Override
    public String toString() {
        return "HistoryDate{" +
                "date=" + date +
                ", count=" + count +
                '}';
    }

}
